package com.ruoyi.ora.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * SOS名单对象 ora_sos_roster
 * 
 * @author liuwp
 * @date 2025-05-20
 */
public class SosRoster extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 姓氏 */
    @Excel(name = "姓氏")
    private String surname;

    /** 姓名 */
    @Excel(name = "姓名")
    private String subname;

    /** 手机 */
    @Excel(name = "手机")
    private String phone;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    private Long userId;

    private Integer orderBy;

    public Integer getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(Integer orderBy) {
        this.orderBy = orderBy;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSurname(String surname) 
    {
        this.surname = surname;
    }

    public String getSurname() 
    {
        return surname;
    }
    public void setSubname(String subname) 
    {
        this.subname = subname;
    }

    public String getSubname() 
    {
        return subname;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("surname", getSurname())
            .append("subname", getSubname())
            .append("phone", getPhone())
            .append("createTime", getCreateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
